﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace AexoManager.Models
{
    public class RegistroTiemposViewModel
    {
        [Required]
        public int IdProceso { get; set; }

        [Required]
        [StringLength(8)]
        public string CodigoPieza { get; set; }

        [Display(Name = "Fecha Inicio")]
        [DataType(DataType.Date)]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        public DateTime? Inicio { get; set; }

        [Required]
        public int? Cantidad { get; set;  }

        public bool ReadOnly { get; set; }

        [Required]
        public int? IdEmpleado { get; set; }

        public bool Reanudar { get; set; }

        public int IdComienzo { get; set; }

    }
}